﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SqlServerMaintenanceSolution.Models;

namespace SqlServerMaintenanceSolution.Models
{
    public class DatabaseIndexDetail : BaseModel
    {
        public string Schema { get; set; }
        public string Table { get; set; }
        public string Index { get; set; }
        public Double AvgFragmentation { get; set; }
        public Int32 PageCount { get; set; }

        public string Suggestion { get; set; }

       
        public DatabaseIndexDetail(string schema, string table, string index, Double avgFragmentation, Int32 pageCount)
        {
            this.Schema = schema;
            this.Table = table;
            this.Index = index;
            this.AvgFragmentation = avgFragmentation;
            this.PageCount = pageCount;
        }

        public DatabaseIndexDetail()
        { 
        
        }

    }
}
